<div class="modal new-document">
	<div class="modal-header">
		<a class="close" data-dismiss="modal">×</a>
		<h3><span class="icon"></span>{{_.NEW_DOCUMENT}}</h3>
	</div>
	<div class="modal-body">
		<div id="alerts-{{view.cid}}"></div>
		<div class="tabs">
			<ul class="nav nav-tabs">
				<li class="active"><a href="#tab-main-{{view.cid}}" data-toggle="tab">{{_.GENERAL}}</a></li>
				<li><a href="#tab-attributes-{{view.cid}}" data-toggle="tab">{{_.ATTRIBUTES}}</a></li>
			</ul>
			<form id="form-{{view.cid}}" class="tab-content form-horizontal">
				<div id="tab-main-{{view.cid}}" class="tab-pane active">
					<div id="templates-{{view.cid}}"></div>
					<div id="workflows-{{view.cid}}"></div>
					<div class="control-group">
						<label class="control-label required" for="form-{{view.cid}}-reference">{{_.REFERENCE}}</label>
						<div class="controls">
							<input type="text" class="input-xlarge reference" id="form-{{view.cid}}-reference" required />
							<p class="help-block">{{_.DOCUMENT_S_REFERENCE}}</p>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="form-{{view.cid}}-title">{{_.TITLE}}</label>
						<div class="controls">
							<input type="text" class="input-xlarge title" id="form-{{view.cid}}-title">
							<p class="help-block">{{_.DOCUMENT_S_TITLE}}</p>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="form-{{view.cid}}-description">{{_.DESCRIPTION}}</label>
						<div class="controls">
							<textarea type="text" class="input-xlarge description" id="form-{{view.cid}}-description"></textarea>
							<p class="help-block">{{_.DOCUMENT_S_DESCRIPTION}}</p>
						</div>
					</div>
				</div>
				<div id="tab-attributes-{{view.cid}}" class="tab-pane attributes"></div>
			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" form="form-{{view.cid}}">
			{{_.CREATE}}
		</button>
		<a class="btn cancel" data-dismiss="modal">{{_.CANCEL}}</a>
	</div>
</div>
